﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace CommunityServerRest {
	[XmlRoot("BlogInfo")]
	public class BlogInfo {
		[XmlAttribute("Id")]
		public int Id { get; set; }
		[XmlAttribute("Endpoint")]
		public string Endpoint { get; set; }
		public BlogInfo() {
		}
		public BlogInfo(Blog blog) {
			Endpoint = blog.Endpoint;
			Id = blog.Id;
		}
	}
}
